package com.pzhu.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.pzhu.model.help.BaseEntity;
import lombok.Data;

/**
 * 预约时间表
 * @TableName hs_bookable
 */
@TableName(value ="hs_bookable")
@Data
public class Bookable extends BaseEntity implements Serializable {
    /**
     * 工作人员ID
     */
    @TableField(value = "staff_id")
    private Long staffId;

    /**
     * 开始时间
     */
    @TableField(value = "start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 状态
     */
    @TableField(value = "state")
    private Boolean state;

    /**
     * 是否预约
     */
    @TableField(value = "is_order")
    private Boolean isOrder;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}